- page_title '徽章'
- badges_path = namespace_project_badges_path(@project.namespace, @project)
- header_title project_title(@project, '徽章', badges_path)

.prepend-top-10
  .panel.panel-default
    .panel-heading
      %b 构建徽章 &middot;
      = @build_badge.to_html
      .pull-right
        = render 'shared/ref_switcher', destination: 'badges'
    .panel-body
      .row
        .col-md-2.text-center
          Markdown
        .col-md-10.code.js-syntax-highlight
          = highlight('.md', @build_badge.to_markdown)
      .row
        %hr
      .row
        .col-md-2.text-center
          HTML
        .col-md-10.code.js-syntax-highlight
          = highlight('.html', @build_badge.to_html)
